﻿<%@ Page Language="C#" MasterPageFile="~/MasterTheme/Auto.master" AutoEventWireup="true"
    Inherits="xIx.Web.Portal.PageBase" Title="Untitled Page" %>

<%@ Register Assembly="xIx.Web.Portal" Namespace="xIx.Web.Portal" TagPrefix="DS" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:Repeater ID="Repeater1" runat="server" DataSourceID="IS1" EnableViewState="false">
        <ItemTemplate>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td height="36">
                        <h1>
                            <%# Eval("Title") %>
                        </h1>
                    </td>
                </tr>
                  <tr>
                    <td valign="top" style="padding-top:2px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td bgcolor="#CAD7E7"><div align="right">Published Time：<span ><%#Eval("ContentTime","{0:yyyy-MM-dd}") %></span> Editor：<span ><%#Eval("Editor") %></span> &nbsp;&nbsp;&nbsp;</div></td>
                      </tr>
                    </table></td>
                  </tr>                <tr>
                    <td class="text_con">
                        <p>
                            <%# Eval("Text") %>
                        </p>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink1" Target="_blank" runat="server" Visible='<%# !string.Empty.Equals(Eval("AttachFile").ToString()) %>'
                            NavigateUrl='<%#Eval("AttachFile") %>'>【Download】</asp:HyperLink><br />
                            <%if(string.IsNullOrEmpty(Request["NC"])){ %>
                        <div align="center">【<a href="javascript:window.close();" value="Close"> Close</a>】</div>
                        <%} %>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:Repeater>
    <DS:IS ID="IS1" runat="server" ItemID="#ID" Fields="*">
    </DS:IS>
</asp:Content>
